package com.no1.zy.mapper;

import com.no1.zy.pojo.Student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface StudentMapper {
    // CURD
    void insertOne(Student stu);
    void updateOne(Student stu);
    void deleteOne(Integer stuId);
    Student selectOne(Integer stuId);
    List<Student> selectAll();

}
